.detail {
  display: flex;
  flex-direction: row;
  padding: 1rem 3rem;
}
.detail main,
.detail aside {
  background-color: #fff;
  border-radius: 5px;
}
.detail main {
  padding: 1rem 2rem;
  margin-right: 1rem;
  width: 80vw;
}

.detail aside {
  width: 20vw;
  display: inline-block;
  background-color: #e1e1e1;
}

.detail main .title .tag,
.detail main .title .title-content {
  display: inline-block;
  margin-bottom: 0;
  line-height: 26px;
  vertical-align: middle;
}
.detail main .title::after {
  content: '';
  display: block;
  margin: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.detail main .title .topic-info {
  margin-top: 1rem;
}
.detail main .title .topic-info > span {
  margin: 0 1rem;
}
.detail main .title h1 {
  font-size: 22px;
}
.detail main .content p,
.detail main .content span,
.detail main .content div {
  text-align: start;
}
.detail main .content li {
  list-style: disc;
}
.detail main .content img {
  width: 100%;
}

.detail main .content a {
  text-decoration: underline;
}

.detail main .replies::before {
  content: '';
  display: block;
  margin: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.detail main .replies h2 {
  font-size: 18px;
  border-radius: 5px;
  background-color: #e5e5e5;
  text-align: start;
  padding-left: 1rem;
  margin-bottom: 0;
}
.detail main .replies ul {
  margin-left: 0;
  padding-left: 0;
}
.detail main .replies .replies-item {
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 1rem 0;
  position: relative;
}

.detail main .replies .replies-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  margin-right: 0.5rem;
}

.detail main .replies .replies-item .name {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-self: center;
}
.detail main .replies .replies-item .name > * {
  margin-right: 0.5rem;
}
.detail main .replies .replies-item span span {
  margin-right: 0.5rem;
}
.detail main .replies .replies-item .text-info {
  margin-left: 1rem;
}

.detail main .replies .replies-item .text-info > * {
  text-align: start;
}
.detail main .replies .replies-item .text-info .content li {
  margin-left: 1.5rem;
}
.detail main .replies .replies-item .text-info .content p {
  margin-bottom: 0;
}
.detail main .replies .replies-item a {
  color: #333;
}
.detail main .replies .replies-item a:hover {
  color: #aaa;
}

.detail aside .author img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
}

.detail aside .ant-card-head,
.detail aside .ant-card-head-title {
  margin: 0;
  padding: 0;
  padding-left: 0.6rem;
  height: 40px;
  line-height: 40px;
  text-align: start;
  background-color: #f6f6f6;
  min-height: 20px;
}
.detail aside .author .ant-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.detail aside .author .author-name a {
  font-size: 16px;
  color: #333;
}

.detail aside .author .author-name a:hover {
  color: #aaa;
}
.detail aside .recent-topic-card {
  margin-top: 1rem;
}

.detail .loading {
  display: block;
  height: 45vh;
}
